<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div id="seMessagePage" class="art">
<%@include file="../include/tab_message.jsp" %>
    <div class="bd">
    	<form class="send_msg" onsubmit="return false;">                
            <p class="addressed"><label>收件人：</label>
			<s:select id="targetSelect" name="m.target"
               	key="id" listKey="id" listValue="displayName" list="#session.registerUserList" theme="simple"></s:select></p>
            <p><label>标题：</label><input id="title" name="m.title" type="text" onblur="onkeyupHandle(this)"/>
            	<span id="titlemsg" class="invalid"></span>
            </p>
            <p style="padding-bottom:5px;"><label>内 容：</label><textarea id="contentId" onpropertychange="onkeyupHandle(this)"></textarea>
            	<span id="contentmsg" class="invalid"></span>
            </p>
            <p class="fonts"><span id="fontlengthmsg">0/400字</span>
            <button type="submit" onclick="sendPrivateMessage(this, 'targetSelect', 'title', 'contentId');">发送</button></p>
        </form>
    </div>
</div>
